home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / Moss / Vitra.dir / 00006.ls < prev    next >
Encoding:
Text File  |  1999-03-01  |  1.9 KB  |  65 lines

  1. on prepareFrame
  2.   set the visible of sprite 30 to 0
  3. end
  4.  
  5. on enterFrame
  6.   if sprite 1 intersects sprite(10) then
  7.     puppetSound(3, "Hello")
  8.     set the visible of sprite 30 to 1
  9.   else
  10.     if sprite 1 intersects sprite(11) then
  11.       puppetSound(4, "01")
  12.       set the visible of sprite 30 to 1
  13.     else
  14.       if sprite 1 intersects sprite(12) then
  15.         puppetSound(5, "02")
  16.         set the visible of sprite 30 to 1
  17.       else
  18.         if sprite 1 intersects sprite(13) then
  19.           puppetSound(6, "03")
  20.           set the visible of sprite 30 to 1
  21.         else
  22.           if sprite 1 intersects sprite(14) then
  23.             puppetSound(6, "04")
  24.             set the visible of sprite 30 to 1
  25.           else
  26.             if sprite 1 intersects sprite(15) then
  27.               puppetSound(5, "05")
  28.               set the visible of sprite 30 to 1
  29.             else
  30.               if sprite 1 intersects sprite(16) then
  31.                 puppetSound(4, "06")
  32.                 set the visible of sprite 30 to 1
  33.               else
  34.                 if sprite 1 intersects sprite(17) then
  35.                   puppetSound(3, "07")
  36.                   set the visible of sprite 30 to 1
  37.                 else
  38.                   if sprite 1 intersects sprite(18) then
  39.                     puppetSound(4, "08")
  40.                     set the visible of sprite 30 to 1
  41.                   else
  42.                     if sprite 1 intersects sprite(19) then
  43.                       puppetSound(5, "09")
  44.                       set the visible of sprite 30 to 1
  45.                     else
  46.                       if sprite 1 intersects sprite(20) then
  47.                         puppetSound(6, "10")
  48.                         set the visible of sprite 30 to 1
  49.                       end if
  50.                     end if
  51.                   end if
  52.                 end if
  53.               end if
  54.             end if
  55.           end if
  56.         end if
  57.       end if
  58.     end if
  59.   end if
  60. end
  61.  
  62. on exitFrame
  63.   go(the frame)
  64. end
  65.